package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文件栏管理对象 file_column
 *
 * @author ruoyi
 * @date 2024-03-25
 */
public class FileColumn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 文件名称 */
    @Excel(name = "文件名称")
    private String fileName;

    /** 轮播类型（0：会议 1：活动 2：自定义） */
    @Excel(name = "轮播类型（0：会议 1：活动 2：自定义）")
    private String fileType;

    /** 轮播类型关联id */
    private Long associationTypeId;

    //关联会议信息
    private MeetingSummary meetingSummary;
    //关联活动信息
    private ActivitySummary activitySummary;

    /** 文件序号 */
    @Excel(name = "文件序号")
    private String fileSort;

    /** 跳转连接 */
    @Excel(name = "跳转连接")
    private String redirectUrl;

    /** 描述 */
    @Excel(name = "描述")
    private String description;

    /** 状态（0：开启 1：关闭） */
    @Excel(name = "状态", readConverterExp = "0=：开启,1=：关闭")
    private String status;

    /** 删除标志（0删除 1存在） */
    private String delFlag;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String imageUrl;

    /**
     *  分页页数
     */
    private Integer pageNum;

    /**
     *  分页条数
     */
    private Integer pageSize;


    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setFileName(String fileName)
    {
        this.fileName = fileName;
    }

    public String getFileName()
    {
        return fileName;
    }
    public void setFileType(String fileType)
    {
        this.fileType = fileType;
    }

    public String getFileType()
    {
        return fileType;
    }
    public void setFileSort(String fileSort)
    {
        this.fileSort = fileSort;
    }

    public String getFileSort()
    {
        return fileSort;
    }
    public void setRedirectUrl(String redirectUrl)
    {
        this.redirectUrl = redirectUrl;
    }

    public String getRedirectUrl()
    {
        return redirectUrl;
    }
    public void setDescription(String description)
    {
        this.description = description;
    }

    public String getDescription()
    {
        return description;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }
    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl()
    {
        return imageUrl;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public Long getAssociationTypeId() {
        return associationTypeId;
    }

    public void setAssociationTypeId(Long associationTypeId) {
        this.associationTypeId = associationTypeId;
    }

    public MeetingSummary getMeetingSummary() {
        return meetingSummary;
    }

    public void setMeetingSummary(MeetingSummary meetingSummary) {
        this.meetingSummary = meetingSummary;
    }

    public ActivitySummary getActivitySummary() {
        return activitySummary;
    }

    public void setActivitySummary(ActivitySummary activitySummary) {
        this.activitySummary = activitySummary;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fileName", getFileName())
            .append("fileType", getFileType())
            .append("fileSort", getFileSort())
            .append("redirectUrl", getRedirectUrl())
            .append("description", getDescription())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("imageUrl", getImageUrl())
            .toString();
    }
}
